var axios = require("axios");

var params = '{"call":"kudu","func":"dw_machine_write.app_t_sec_trans_stat","conds":[[{"k":"trade_day","op":"=","v":"2018-07-05"},{"k":"sec_code","op":"=","v":"0001300739"},{"k":"type","op":"=","v":3}],["and","and"]]}';
var arrs = [];
arrs.push(axios({
  method: "POST",
  url: "http://192.168.9.101:8010/query",
  data: JSON.parse(params)
}));
axios.all(arrs).then(axios.spread(function () {
  let rets = Array.prototype.slice.call(arguments);
  let datas = [];
  rets.forEach(ret => {
    console.log('atom: ' + JSON.stringify(ret.data));
  })
}))